.class public Lnet/tsapps/topdeals/ads/apprupt/TdCvOverlay;
.super Lcom/apprupt/android/cvclient/CvOverlay;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/apprupt/android/cvclient/CvOverlay;-><init>()V

    return-void
.end method


# virtual methods
.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 3

    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    invoke-virtual {p2}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v0

    if-nez v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lnet/tsapps/topdeals/DealListActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "refresh"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/ads/apprupt/TdCvOverlay;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0}, Lnet/tsapps/topdeals/ads/apprupt/TdCvOverlay;->finish()V

    :cond_0
    invoke-super {p0, p1, p2}, Lcom/apprupt/android/cvclient/CvOverlay;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    return v0
.end method
